package com.hr.fer.nmbp.lab2.persistence;

import java.util.Date;
import java.util.List;

import com.hr.fer.nmbp.lab2.domain.Reservation;
import com.hr.fer.nmbp.lab2.domain.Room;
import com.hr.fer.nmbp.lab2.domain.TimeSpan;

public interface ReservationMapper {
	int insert(Reservation record);
	int delete(Reservation record);
	List<Reservation> selectByDate(Date date);
	List<Reservation> selectByRoomNumber(Long number);
	List<Room> selectEmptyRooms(TimeSpan ts);
	int deleteByRoomNumber(int roomNum);
}
